const getters = {
  token: state => state.user.token, // token
  name: state => state.user.name, // 用户名
  permissions: state => state.user.permissions
}
export default getters
